<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Customer Feedback</title>

<meta name="description" content="View our large range of horse saddles online | We have saddles for most disciplines including General Purpose | Dressage | Eventing | Working | Hunter and VSD. Buy or sell saddles online." />

<link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
	background-image: url(images/background.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
}
</style>
<link href="css/customerFeedback.css" rel="stylesheet" type="text/css" />
</head>

<body onload="MM_preloadImages('images/facebookHover.png')">



<?php include "header.php"; ?>

<div id="content">

<ul>

<?php

include "connect.php"; 

$result = mysql_query("SELECT * FROM feedback WHERE status = 'accepted' ORDER BY ID DESC LIMIT 15 ");

while($row = mysql_fetch_array($result))
  {
	
	$date = $row['date'];
	$truDate = date('d-M-Y',strtotime($date)); 
	  
  echo "<li>";
  echo "<h4>".$row['customer']."<i> - ".$truDate."</i></h4>";
  echo "<p>".$row['feedback']."</p>";
  echo "</li>";
  }

?>

</ul>



</div>
<!--Content #End-->

<?php include"footer.php";

mysql_close()

?>


</body>
</html>